    <!--页面主要内容-->
    <main class="lyear-layout-content">    
      <div class="container-fluid">        
        <div class="row">
          <div class="col-lg-12">
            <div class="card">
              <div class="card-body">            
                <form action="{:url('addad')}" method="post" class="row" enctype="multipart/form-data">     
                    <div class="toolbar-btn-action">
                        <div class="btn btn-primary m-r-5">为刚添加的商品“{$pname}”添加拼团信息</div>
                        <input type="text" name="pid" value="{$pid}" style="display:none;" />
                        <input type="text" name="pname" value="{$pname}" style="display:none;" />
                        <input type="text" name="grade" value="{$grade}" style="display:none;" />
                    </div>  
                  <div class="form-group col-md-12">
                    <label for="title">专区名称</label><label for="title" style="color: #fa4646;font-size: 8px;">&nbsp;&nbsp;(不能为空)</label>
                    <input type="text" class="form-control" id="title" name="ptname" value="" placeholder="请输入专区名称" />
                  </div>
                  <div class="col-lg-12">
                    <div class="card">
                      <div class="card-header"><h4>开始时间选择</h4></div>
                      <div class="card-body">
                        <input class="form-control js-datetimepicker" type="text" id="example-datetimepicker" name="ptstartime" placeholder="请选择具体时间" value="" data-side-by-side="true" data-locale="zh-cn" data-format="YYYY-MM-DD HH:mm">
                      </div>
                    </div>
                  </div>
                  <div class="col-lg-12">
                    <div class="card">
                      <div class="card-header"><h4>截止时间选择</h4></div>
                      <div class="card-body">
                        <input class="form-control js-datetimepicker" type="text" id="example-datetimepicker" name="ptendtime" placeholder="请选择具体时间" value="" data-side-by-side="true" data-locale="zh-cn" data-format="YYYY-MM-DD HH:mm">
                      </div>
                    </div>
                  </div>
                  <div class="form-group col-md-12">
                    <label for="title">拼团享受优惠方式选择</label>
                    <div class="form-controls">
                      <select name="yid" class="form-control" id="type">
                      {foreach $yhtype1 as $key=>$vo}
                        <option value="{$vo['yid']}">{$vo['yname']}</option>
                      {/foreach}
                      </select>
                    </div>
                  </div>
                  <div class="form-group col-md-12">
                    <button type="submit" class="btn btn-primary ajax-post" target-form="add-form">确 定</button>
                    <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
                  </div>
                </form>
       
              </div>
            </div>
          </div>
          
        </div>
        
      </div>
      
    </main>
    <!--End 页面主要内容-->
  </div>
</div>

<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/perfect-scrollbar.min.js"></script>
<!--标签插件-->
<script src="__PUBLIC__/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/main.min.js"></script>
<!--时间选择插件-->
<script src="__PUBLIC__/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="__PUBLIC__/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="__PUBLIC__/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
</body>
</html>